package cn.dgut.training;

import cn.dgut.training.controller.ActivityService;
import cn.dgut.training.controller.UserService;
import cn.dgut.training.entity.activity.CouponUser;
import cn.dgut.training.entity.goods.Category;
import cn.dgut.training.entity.user.Address;
import cn.dgut.training.mapper.CategoryMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author liang cx
 * @date 2019/12/26 15:13
 */

@SpringBootTest(classes = GoodsApplication.class)
public class GoodsTestApplication {

    @Autowired
    private ActivityService activityService;

    @Resource
    private UserService userService;

    @Resource
    private CategoryMapper categoryMapper;

    @Test
    void Test1(){
       userService.iDeletion(8L,new BigDecimal(10).toString());
    }
}
